N            equ  3



             org  $1000

             movea.l #alpha,a0   ; set pointer
             move.b  #0,d0     ; clear counter
             move.w  #N-1,d1   ; set loop counter for N loops
x1           add.b   (a0)+,d0
             dbra    d1,x1
             move.b  d0,sum
             nop

              org  $10a0
alpha         dc.b $12,$34,$56,$78,$90
sum           ds.b 1




